Skip to content

fix: Resolve npm audit vulnerabilities & update CI/CD actions#9

Merged
aplulu merged 4 commits intomainfrom
feature/fix-vulnerabilities-and-update-actions
Dec 12, 2025
Merged

fix: Resolve npm audit vulnerabilities & update CI/CD actions#9
aplulu merged 4 commits intomainfrom
feature/fix-vulnerabilities-and-update-actions

Conversation

@aplulu
Copy link
Copy Markdown
Owner

@aplulu aplulu commented Dec 12, 2025

Overview

This PR addresses several maintenance and stability concerns:

  1. Resolved dependency vulnerabilities detected by npm audit.
  2. Updated GitHub Actions to their v4 versions for checkout, setup-node, and upload-artifact.
  3. Updated the Node.js version in the CI/CD workflow to 20 to resolve ReferenceError: ReadableStream is not defined when building the PDF.

Changes

  • Executed npm audit fix and updated package-lock.json.
  • Modified .github/workflows/main.yml to:
    • Use actions/checkout@v4
    • Use actions/setup-node@v4
    • Use actions/upload-artifact@v4
    • Set node-version: 20
  • Modified index.ts to include --no-sandbox argument for Puppeteer launch options to fix No usable sandbox! error.

@aplulu aplulu self-assigned this Dec 12, 2025
@aplulu aplulu merged commit 7d1df79 into main Dec 12, 2025
1 check passed
@aplulu aplulu deleted the feature/fix-vulnerabilities-and-update-actions branch December 12, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant